import component.*;

/**
 * @Author: wangbingchen
 * @CreateTime: 2024-01-06
 */
public class Test11 {

    public static void main(String[] args) {
        //创建一个窗口

        WFrame instance = WFrame.getInstance("111");
        WPanel wPanel = instance.createWPanel("22");
        WButton wButton = wPanel.createWButton("sd", "这是一个按钮", new WComponent() {
            @Override
            public void run() {
                System.out.println("绑定事件了");
                WLabel instance1 = WLabel.getInstance("1211");
                instance1.setValue("1111");
            }
        });
        WLabel wLabel = wPanel.createWLabel("1211","232323232132131");
        WTextField wTextField = wPanel.createWTextField("2","aaaaa",18);


    }
}
